package com.yugao.fintech.antelope.infra.weixin.mp.constants;

import com.yugao.fintech.framework.assistant.utils.exception.BaseError;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springframework.http.HttpStatus;


@Getter
@AllArgsConstructor
public enum MpErrorEnum implements BaseError {
    // ========== 公众号素材 1006004000============
    MATERIAL_NOT_EXISTS(HttpStatus.NOT_FOUND, 11, "素材不存在"),
    MATERIAL_UPLOAD_FAIL(HttpStatus.BAD_REQUEST, 12, "上传素材失败，原因：{}");
    private final HttpStatus status;
    private final Integer code;
    private final String message;
}
